// pages/activity/nationalDay/components/TopAwardList/TopAwardList.js
const imgBaseUrl = "https://ustatic.hudongmiao.com/joymewApp/activity/nationalDay/"
Component({
  /**
   * 组件的属性列表
   */
  properties: {

  },

  /**
   * 组件的初始数据
   */
  data: {
    cardList: [{
      id: 'Award1',
      GiftImg: `${imgBaseUrl}awardItem1@v3.png`,
    },
    {
      id: 'Award2',
      GiftImg: `${imgBaseUrl}awardItem2@v2.png`,
    },
    {
      id: 'Award3',
      GiftImg: `${imgBaseUrl}awardItem3.png`,
    },
    {
      id: 'Award4',
      GiftImg: `${imgBaseUrl}awardItem4.png`,
    },
    {
      id: 'Award5',
      GiftImg: `${imgBaseUrl}awardItem5.png`,
    },
    {
      id: 'Award6',
      GiftImg: `${imgBaseUrl}awardItem6.png`,
    }
    ]
  },

  /**
   * 组件的方法列表
   */
  methods: {
    more(){
      this.triggerEvent('update', {
        awardDialogVisible: true,
      })
    }
  }
})
